﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArtificialIntelligence
{
    public class Job
    {
        public Double assessment;
        public Boolean approved;
        public Boolean workedOn;
        public dynamic jobState;
        public dynamic recentHistory;
        public Job parent;
        public List<Job> children = new List<Job>();

        public Job(dynamic inJobState)
        {
            jobState = inJobState;
        }

        public Job()
        {
        }

        public static String[] Equations(Job[] jobs)
        {
            return Functional.Maps.Map(jobs, x => (String)x.jobState.ToString());
        }
    }
}
